from typing import Any

from recruit.adapter.database.models import ResumeContact
from tests.adapter.models.utils import (
    check_fields,
    check_model_resume,
)


def test_resume_contact_model(get_resume_contact) -> None:
    check_model_resume(ResumeContact, get_resume_contact)


def test_fields() -> None:
    fields = ('id', 'resume_id', 'email', 'phone', 'telegram')
    check_fields(fields, ResumeContact)
